<div id="main_canvas">
  <div id="player_area">

    <div id="player1">
      <%= render :partial=>"users/player", :object=>@user %>
    </div>
    <div id="timer">
      剩余时间<br><strong id="RemainM">1</strong>:<strong id="RemainS">00</strong>
    </div>
    <div id="player2">
      <div id="player_photo">
        <%= image_tag  "men_head.gif"%>
      </div>
      <div id="player_name">
        你的拍档
      </div>
      <div id="player_score">
        请点击开始寻找拍档
      </div>
    </div>
  </div>
  <div id="game_canvas">
    <div id="interact_area">
      <div id="title">Picture Digest</div>
      <div id="start_button">
        <% form_remote_tag :url => {:action => 'start'} do%>
          <%= submit_tag "Start Game" %>
        <%end%>
      </div>

      <div id="gameinfo"> </div>
      <div id="picture"> </div>

      <div id="tag_input_area" style="display:none">
        <%= text_field_tag 'tag_field',nil,:onkeypress => "if(event.keyCode==13) setTag();"%>
        <input id="tag_btn" name="btn" type="submit" value="贴标签" onClick="setTag()">
        <% form_remote_tag :url => {:action => 'pass'} do%>
          <input type="submit" value="跳过" id="pass_btn"/>
        <%end%>
      </div>
    </div>
    <div id="offlimit_area">
      <div id="offlimit_label">限制</div>
      <div id="offlimit"> </div>
    </div>
    <div id="tag_area">
      <div id="tags_label"> 我的标签</div>
      <div id="tags"></div>
    </div>

  </div>



  <% form_remote_tag :url => {:action => 'test'} do %>
  <%end %>

  <div style="display:none">

    <% form_remote_tag :url => {:action => 'gameover'} do%>
      <input type="submit" value="Game Over" name="doover" id="doover"/>
    <%end%>
  </div>

  <div id="pcall_div">
    <%= periodically_form_to_remote%>
  </div>

  <div id="show_pics" style="display:none">
    
  </div>

</div>



